---
title: Troubleshooting
metaTitle: Troubleshooting
description: Workarounds for common issues using Amplify UI.
supportedFrameworks: react|angular|vue
---

import { InlineFilter } from '@/components/InlineFilter';
import { getCustomStaticPath } from '@/utils/getCustomStaticPath';
import AngularPage from './troubleshooting.angular.mdx';
import ReactPage from './troubleshooting.react.mdx';
import VuePage from './troubleshooting.vue.mdx';

export async function getStaticPaths() {
  return getCustomStaticPath(frontmatter.supportedFrameworks);
}

{/*  `getStaticProps` is required to prevent "Error: getStaticPaths was added without a getStaticProps. Without getStaticProps, getStaticPaths does nothing" */}

export async function getStaticProps() {
  return { props: {} }
}

<InlineFilter filters={['angular']}>
  <AngularPage />
</InlineFilter>
<InlineFilter filters={['react']}>
  <ReactPage />
</InlineFilter>
<InlineFilter filters={['vue']}>
  <VuePage />
</InlineFilter>
